import request from '@/utils/request'

// 查询科目校验模板列表
export function listPcwTempSubjectValidation(query) {
  return request({
    url: '/validation/pcwTempSubjectValidation/list',
    method: 'get',
    params: query
  })
}

// 查询科目校验模板详细
export function getPcwTempSubjectValidation(id) {
  return request({
    url: '/validation/pcwTempSubjectValidation/' + id,
    method: 'get'
  })
}

// 保存科目校验模板
export function savePcwTempSubjectValidation(data) {
  return request({
    url: '/validation/pcwTempSubjectValidation/save',
    method: 'post',
    data: data
  })
}

// 删除科目校验模板
export function delPcwTempSubjectValidation(id) {
  return request({
    url: '/validation/pcwTempSubjectValidation/' + id,
    method: 'delete'
  })
}

// 导出科目校验模板
export function exportPcwTempSubjectValidation(query) {
  return request({
    url: '/validation/pcwTempSubjectValidation/export',
    method: 'get',
    params: query
  })
}
